package com.zpark.bean;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @Author: Abigale
 * @Date: 2022/10/22 13:10
 * @Version: 1.0
 */
@Data
public class UserDetail {
    @Length(min = 5, max = 17, message = "length长度在[5,17]之间")
    @NotNull(message = "额外的不能为空")
    private String extFiled;

}
